import api from './index'
import { axios } from '@/utils/request'
import Qs from 'qs'

export function assessmentSave(parameter) {
  return axios({
    url: api.AssessmentSava,
    method: 'post',
    data: Qs.stringify(parameter)
  })
}
export function assessmentDel(parameter) {
  return axios({
    url: api.AssessmentDel,
    method: 'post',
    data: parameter
  })
}
export function assessmentList(parameter) {
  return axios({
    url: api.AssessmentList,
    method: 'get',
    params: parameter
  })
}
export function assessmentInfo(parameter) {
  return axios({
    url: api.AssessmentInfo,
    method: 'get',
    params: parameter
  })
}
